package com.example.tool.erp.sdk.api.sales.dto;

import lombok.Data;
import org.apache.commons.lang3.StringUtils;

import java.util.HashMap;
import java.util.Map;

@Data
public class TradeQueryGetLogRequest
{
	 private String tradeNo;
	 private Map<String,Object>params=new HashMap<>();

	public Map<String, Object> getParams() {
		if(StringUtils.isNotBlank(tradeNo)){
			params.put("trade_no",tradeNo);
		}
		return params;
	}
}
